package com.nbjtjc.safe.mapper.edu;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.nbjtjc.safe.model.edu.EduRequirementRespondent;
import com.nbjtjc.util.MyMapper;
@Mapper
public interface EduRequirementRespondentMapper extends MyMapper<EduRequirementRespondent> {
	List<EduRequirementRespondent> findByReqId(@Param("reqId")int reqId);
	
	@Delete("delete from edu_requirement_respondent where req_invest_id = #{reqId}")
	int deleteByReqId(@Param("reqId")int reqId);
}